package com.qinggeng.project.system.domain;

import org.apache.commons.lang3.builder.ToStringBuilder;
import org.apache.commons.lang3.builder.ToStringStyle;
import com.qinggeng.framework.aspectj.lang.annotation.Excel;
import lombok.Data;
import com.qinggeng.framework.web.domain.BaseEntity;

/**
 * 订单评价对象 orders_evaluate
 * 
 * @author qinggeng
 * @date 2020-06-19
 */
@Data
public class OrdersEvaluate extends BaseEntity
{
    private static final long serialVersionUID = 1L;

    /** 订单评价ID */
    private Long ordersEvaluateId;

    /** 订单ID */
    @Excel(name = "订单ID")
    private Long ordersId;

    /** 商品ID */
    @Excel(name = "商品ID")
    private Long goodsId;

    /** 用户ID */
    @Excel(name = "用户ID")
    private Long userId;

    @Excel(name = "店铺ID")
    private Long shopId;

    /** 商品质量 */
    @Excel(name = "商品质量")
    private Integer goodsQuality;

    /** 配送服务 */
    @Excel(name = "配送服务")
    private Integer distService;

    /** 评价图片 */
    @Excel(name = "评价图片")
    private String evaluateImgs;

    /** 评价描述 */
    @Excel(name = "评价描述")
    private String evaluateDesc;

    /** 删除标志（0代表存在 2代表删除） */
    private String delFlag;

    public Long getOrdersEvaluateId() {
        return ordersEvaluateId;
    }

    public void setOrdersEvaluateId(Long ordersEvaluateId) {
        this.ordersEvaluateId = ordersEvaluateId;
    }

    public Long getOrdersId() {
        return ordersId;
    }

    public void setOrdersId(Long ordersId) {
        this.ordersId = ordersId;
    }

    public Long getGoodsId() {
        return goodsId;
    }

    public void setGoodsId(Long goodsId) {
        this.goodsId = goodsId;
    }

    public Long getUserId() {
        return userId;
    }

    public void setUserId(Long userId) {
        this.userId = userId;
    }

    public Long getShopId() {
        return shopId;
    }

    public void setShopId(Long shopId) {
        this.shopId = shopId;
    }

    public Integer getGoodsQuality() {
        return goodsQuality;
    }

    public void setGoodsQuality(Integer goodsQuality) {
        this.goodsQuality = goodsQuality;
    }

    public Integer getDistService() {
        return distService;
    }

    public void setDistService(Integer distService) {
        this.distService = distService;
    }

    public String getEvaluateImgs() {
        return evaluateImgs;
    }

    public void setEvaluateImgs(String evaluateImgs) {
        this.evaluateImgs = evaluateImgs;
    }

    public String getEvaluateDesc() {
        return evaluateDesc;
    }

    public void setEvaluateDesc(String evaluateDesc) {
        this.evaluateDesc = evaluateDesc;
    }

    public String getDelFlag() {
        return delFlag;
    }

    public void setDelFlag(String delFlag) {
        this.delFlag = delFlag;
    }

    @Override
    public String toString() {
        return new ToStringBuilder(this,ToStringStyle.MULTI_LINE_STYLE)
            .append("ordersEvaluateId", getOrdersEvaluateId())
            .append("ordersId", getOrdersId())
            .append("goodsId", getGoodsId())
            .append("userId", getUserId())
            .append("goodsQuality", getGoodsQuality())
            .append("distService", getDistService())
            .append("evaluateImgs", getEvaluateImgs())
            .append("evaluateDesc", getEvaluateDesc())
            .append("createTime", getCreateTime())
            .toString();
    }
}
